import request from "@/utils/request";

export function updateUserPwd(data) {
  return request({
    url: '/user-center/password',
    method: 'put',
    data
  })
}

export function updateUserProfile(data) {
  return request({
    url: '/user-center/info',
    method: 'put',
    data
  })
}

export function uploadAvatar(data) {
  return request({
    url: '/user-center/avatar',
    method: 'put',
    data
  })
}
